<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Date对象</title>
</head>
<body>
<script>
    let now = new Date();
    console.log(now)
    console.log("getTime()",now.getTime())
    console.log("getFullYear()",now.getFullYear())
    console.log("getMonth()",now.getMonth())
    console.log("getDate()",now.getDate())
    console.log("getDay()",now.getDay())

</script>
</body>
</html>